package com.ruoyi.cert.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

/**
 * 证书类型对象 cert_type
 *
 * @author mxh
 * @date 2023-03-26
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
public class CertType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 证书名称
     */
    @Excel(name = "证书名称")
    private String name;

    /**
     * 证书类别
     */
    @Excel(name = "证书类别")
    private String type;

    /**
     * 证书模板id
     */
    @Excel(name = "证书模板id")
    private Long tplId;

    /**
     * 机构id
     */
    @Excel(name = "机构id")
    private Long deptId;

    /**
     * 有效期/月
     */
    @Excel(name = "有效期/月")
    private Integer validMonth;

    /**
     * 说明
     */
    @Excel(name = "说明")
    private String info;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 编号规则 格式JSON
     */
    @Excel(name = "编号规则 格式JSON")
    private String codeRule;

    /**
     * 删除标识 1已删除
     */
    private Integer delFlag;

    /**
     * 预留字段1
     */
    @Excel(name = "预留字段1")
    private String reservedOne;

    /**
     * 预留字段2
     */
    @Excel(name = "预留字段2")
    private String reservedTwo;

}
